import logging

from django.shortcuts import render

# Create your views here.
from rest_framework.response import Response
from rest_framework.views import APIView

logger=logging.getLogger('erp')

class Hello(APIView):
    def get(self,request):
        logger.debug('基本日志')
        logger.info('info基本日志')
        return Response({'message':'ok'})